﻿using XinGuanERP.Models.Vo.business;
using XinGuanERP.Utils;

namespace XinGuanERP.Services.business.IServices;

public interface IConsumerService
{
    bool AddConsumer(ConsumerVo consumerVo);
        
    bool UpdateConsumer(ConsumerVo consumerVo);

    bool DeleteConsumer(string id);

    PageResult<ConsumerVo> GetConsumerWithPage(ConsumerVo consumerVo);
    
    List<ConsumerVo> GetConsumerWithList();
}